package cn.topevery.garden.entity.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 设备报警记录表 视图
 *
 * @author code-generate
 * @date 2021-09-06
 */
@Data
@ApiModel(value = "DeviceWarning 视图", description = "设备报警记录表 视图")
public class DeviceWarningVO implements Serializable{
    /**
     * 自增id
     */
    private Integer id;

        /**
     * 设备编号
     */
    @ApiModelProperty(value = "设备编号")
    @Excel(name = "设备编号", orderNum = "0")
    private String deviceCode;

    /**
     * 设备类型id
     */
    @ApiModelProperty(value = "设备类型id")
    @Excel(name = "设备类型id", orderNum = "0")
    private String type;

    /**
     * 设备类型名称
     */
    @ApiModelProperty(value = "设备类型名称")
    @Excel(name = "设备类型名称", orderNum = "0")
    private String typeName;

    @ApiModelProperty(value = "经度")
    @Excel(name = "经度", orderNum = "0")
    private Double lng;

    @ApiModelProperty(value = "纬度")
    @Excel(name = "纬度", orderNum = "0")
    private Double lat;

    /**
     * 告警类型id
     */
    @ApiModelProperty(value = "告警类型id")
    @Excel(name = "告警类型id", orderNum = "0")
    private String warningTypeId ;

    /**
     * 告警类型名称
     */
    @ApiModelProperty(value = "告警类型名称")
    @Excel(name = "告警类型名称", orderNum = "0")
    private String warningTypeName ;

    @ApiModelProperty(value = "告警内容")
    @Excel(name = "告警内容")
    private String warningDesc;

    @ApiModelProperty(value = "告警状态 0 已告警 1 已处理")
    public Integer warningStatus;

    @ApiModelProperty(value = "设备上报信息c_id")
    public Integer mainId;

    @ApiModelProperty(value = "对象Id")
    public Integer objectId;

    /**
     * 案件号
     */
    @ApiModelProperty(value = "案件号")
    @Excel(name = "案件号", orderNum = "0")
    private String eventCode;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    @Excel(name = "创建时间", orderNum = "0")
    private LocalDateTime dbCreateDate;

    /**
     *   对应t_sys_user.c_id
     */
    @ApiModelProperty(value = "  对应t_sys_user.c_id")
    @Excel(name = "  对应t_sys_user.c_id", orderNum = "0")
    private Integer dbCreateId;

    /**
     * 最后更新时间
     */
    @ApiModelProperty(value = "最后更新时间")
    @Excel(name = "最后更新时间", orderNum = "0")
    private LocalDateTime dbLastUpdateDate;

    /**
     *  对应t_sys_user.c_id
     */
    @ApiModelProperty(value = " 对应t_sys_user.c_id")
    @Excel(name = " 对应t_sys_user.c_id", orderNum = "0")
    private Integer dbLastUpdateId;

    @ApiModelProperty(value = "地址")
    private String address;

}
